package com.ly.emp.constant;

/**
 * 常量类-一线班组
 *
 * @author luoyun
 * @Date 2023/5/24 11:05
 */
public class EmpConstants {

    /**
     * 汇总结果分数的个数
     */
    public static final Integer resultScoreNum = 9;
    /**
     * 分数的个数
     */
    public static final Integer scoreNum = 10;

    /**
     * 基础定额编码前缀
     */
    public static final String QUOTA_FACTOR_PREFIX = "QFP_";
    /**
     * 指标库类型编码
     */
    public static final String INDEX_TYPE_PREFIX = "ITP_";
    /**
     * 指标库编码
     */
    public static final String INDEX_PREFIX = "IPP_";

    /**
     * 工作系数编码
     */
    public static final String XS_SET_PREFIX = "XSP_";
    /**
     * 综合评价模板编码
     */
    public static final String EVALUATE_TEMPLATE_PREFIX = "ETP_";
    /**
     * 综合评价模板存储字段
     */
    public static final String TEMPLATE_SAVE_PREFIX = "TSP_";
    /**
     * 综合评价指标编码
     */
    public static final String EVALUATE_INDEX_PREFIX = "EIP_";

    /**
     * 管理员工-okr配置编码
     */
    public static final String PNEL_OKR_CONF_PREFIX = "OKRC_";
    /**
     * 管理员工-okr类型编码
     */
    public static final String PNEL_OKR_TYPE_PREFIX = "OKRT_";

    /**
     * 10按事 20按人 30二维表评分 40其它系统同步
     */
    public static final String RESULT_ADD_MODE_TASK = "10";
    public static final String RESULT_ADD_MODE_PERSON = "20";
    public static final String RESULT_ADD_MODE_TWO_DIMENSIONAL = "30";
    public static final String RESULT_ADD_MODE_TWO_OTHER = "40";
    // 月度初始状态见 Constants类（YHZ），目前字典数据以统一维护
    /**
     * 月度汇总状态：0未汇总 10已汇总 15已退回 20已提交 30已审核 100已发布
     */
    public static final String RESULT_STATUS_INIT = "0";
    /**
     * 10已汇总
     */
    public static final String RESULT_STATUS_SUMMARY = "10";
    /**
     * 15已退回
     */
    public static final String RESULT_STATUS_REJECT = "15";
    /**
     * 16已退回-发布退回
     */
    public static final String RESULT_STATUS_REJECT_1 = "16";
    /**
     * 20已提交
     */
    public static final String RESULT_STATUS_SUBMIT = "20";
    /**
     * 21已审核
     */
    public static final String RESULT_STATUS_PASS_1 = "21";
    /**
     * 30已审核
     */
    public static final String RESULT_STATUS_PASS = "30";
    /**
     * 100已发布
     */
    public static final String RESULT_STATUS_PUBLISHED = "100";

    /**
     * 结果（合约）状态：0未拟订（未录入） 15已退回 17已终止 18已变更 20已提交 30已审核-待发布 100已发布
     */
    public static final String PNEL_RESULT_STATUS_INIT = "0";
    /**
     * 15已退回
     */
    public static final String PNEL_RESULT_STATUS_REJECT = "15";
    /**
     * 17已终止
     */
    public static final String PNEL_RESULT_STATUS_STOP = "17";
    /**
     * 18已变更
     */
    public static final String PNEL_RESULT_STATUS_UPDATE = "18";
    /**
     * 20已提交-上级审核
     */
    public static final String PNEL_RESULT_STATUS_SUBMIT = "20";
    /**
     * 21已审核
     */
    public static final String PNEL_RESULT_STATUS_PASS_1 = "21";
    /**
     * 30待发布
     */
    public static final String PNEL_RESULT_STATUS_PASS = "30";
    /**
     * 100已发布
     */
    public static final String PNEL_RESULT_STATUS_PUBLISHED = "100";
    /**
     * 1合约
     */
    public static final String PNEL_RESULT_STATUS_CONTRACT = "1";
    /**
     * 2考核
     */
    public static final String PNEL_RESULT_STATUS_EXAMINE = "2";

    public static final Integer PNEL_RESULT_FINAL_SCORE = 0;

    /**
     * 月度分值累计折算
     */
    public static final String M_ADD_CALCULATE = "月度分值累计折算";
    /**
     * 月度平均分折算
     */
    public static final String M_AVERAGE_CALCULATE = "月度平均分折算";
    /**
     * 月度加权折算
     */
    public static final String M_WEIGH_CALCULATE = "月度加权折算";
    /**
     * 季度分值累计折算
     */
    public static final String Q_ADD_CALCULATE = "季度分值累计折算";
    /**
     * 季度平均分折算
     */
    public static final String Q_AVERAGE_CALCULATE = "季度平均分折算";
    /**
     * 季度加权折算
     */
    public static final String Q_WEIGH_CALCULATE = "季度加权折算";
}
